<template>
  <div class="app-container">
    <el-card>
      <el-tabs v-model="activeTab">
        <el-tab-pane label="基本信息"
                     name="activity">
          <activity />
        </el-tab-pane>
        <el-tab-pane label="修改密码"
                     name="account">
          <account />
        </el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>

<script>
import Activity from './components/Activity'
import Account from './components/Account'

export default {
  name: 'Profile',
  components: { Activity, Account },
  data() {
    return {
      activeTab: 'activity'
    }
  }
}
</script>
